package com.rest.demo.config;

import com.rest.demo.filter.CrosFilter;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

/**
 * @author Administrator
 * @decription
 * @Date 2017-11-10 16:14
 */
@Configuration
public class WebConfig {

    @Bean
    public CrosFilter crosFilter() {
        return new CrosFilter();
    }
}
